<?php
namespace App\Http;

class ErrCode {
    //认证失败
    const AUTH_FAILED = 40001;
    //token无效
    const TOKEN_ERROR = 40002;
    //token需要刷新
    const TOKEN_EXPIRED = 40003;
    //资源不存在
    const RESOURCE_NOT_FOUND = 40004;
    //请求的数据验证失败
    const HTTP_RESPONSE_ERROR = 40005;
    //资源数据已经存在
    const RESOURCE_EXIST = 40006;
    //服务器内部错误
    const SERVER_INTERNAL_ERROR = 50000;

}
